package com.login_php.service;

import com.login_php.actions.BaseServiceAction;

public class LogoffService extends BaseServiceAction{
	
	@Override
	public String doExecute() {
	
		getAplicationEng().getUsuarioEng().logoff();
		request.getSession().invalidate();
		
		return SUCCESS;
	}
	
	@Override
	protected boolean isLoginRequired() {
		return false;
	}
}
